package com.wontube.smr.web.controller.i18n;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
@RequestMapping("/world")
public class I18nLinkController {	
	@RequestMapping("/about")
	public ModelAndView aboutus() {
		return new ModelAndView("i18n/about/about_us");
	}
	
	@RequestMapping("/term")
	public ModelAndView term() {
		return new ModelAndView("i18n/about/term");
	}
	
	@RequestMapping("/link")
	public ModelAndView link() {
		return new ModelAndView("i18n/about/link");
	}
	
	@RequestMapping("/supportsite")
	public ModelAndView sites() {
		return new ModelAndView("i18n/about/support_sites");
	}
	
	@RequestMapping("/sitemap")
	public ModelAndView sitemap() {
		return new ModelAndView("i18n/about/sitemap");
	}
	
	@RequestMapping("/404")
	public ModelAndView error404(HttpServletRequest request) {		
		return new ModelAndView("error/i18n_404");
	}
	
	@RequestMapping("/50x")
	public ModelAndView error50x(HttpServletRequest request) {		
		return new ModelAndView("error/i18n_50x");
	}
}
